package msg;

/**
 * @author Rudy 4072883@qq.com
 * @since 2013-6-27
 */
public abstract class Msg {
	public static final byte CREATE = 1;
	public static final byte DELETE = 2;
	public static final byte UPDATE = 3;

	public abstract byte[] encode() throws Exception;

	public abstract void decode(byte[] buffer) throws Exception;
}